package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;
import java.util.List;

public interface IEmployeeService {
    void saveOrUpdate(Employee entity);
    void delete(Long id);
    Employee get(Long id);
    List<Employee> list();
    PageResult query(QueryObject qo);
    /*改变员工状态*/
    void changeState(Long empId);
    Employee getByUsername(String username);
    List<Long> selectRoleByEmpId(Long empId);
}
